<!--
 * @Author: chris
 * @Date: 2021-10-19 15:40:47
 * @LastEditors: chris
 * @LastEditTime: 2021-11-11 10:52:35
 * @FilePath: \qiankun\examples\vue\src\App.vue
-->
<template>
  <div id="app">
    <div id="nav">
      <router-link to="/">Home</router-link>|
      <router-link to="/about">About</router-link>|
      <a @click="push">react15</a>
    </div>
    <router-view />
  </div>
</template>
<script>
export default {
  methods: {
    push() {
      window.history.pushState(null, 'react15', '/react15');
    },
  },
};
</script>
<style>
#app {
  font-family: 'Avenir', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
}

#nav {
  padding-bottom: 20px;
}

#nav a {
  font-weight: bold;
  color: #2c3e50;
  text-decoration: none;
}

#nav a.router-link-exact-active {
  color: #42b983;
}
</style>
